$(document).ready(function () {
    var t = $(".panel-page .pagination li a"),
        a = $(".breadcrumb #navCurrent1"),
        e = $(".breadcrumb #navCurrent2");
    t.on({
        click: function () {
            var thisPage, pageNum = e.attr("href");
            pageNum = e.length > 0 ? e.attr("href") :
                a.attr("href"), thisPage = $(this).hasClass("nextPage") ?
                1 * $(".pagination li.active").text() + 1 : $(this).hasClass("prePage") ?
                    1 * $(".pagination li.active").text() - 1 :
                    $(this).text(),
                setTimeout(window.location.href = pageNum + "&pageId=" + thisPage, 500)
        }
    })
});